package game.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import common.model.po.GProductRequirement;
import game.mapper.GProductRequirementMapper;
import game.model.vo.ProductRequirementVo;
import game.service.GProductRequirementService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 服务实现类
 *
 * @author 米泽鹏
 * @since 2024-01-24 下午 07:10
 */
@Service
public class GProductRequirementServiceImpl extends ServiceImpl<GProductRequirementMapper, GProductRequirement> implements GProductRequirementService {

	@Resource
	private GProductRequirementMapper mapper;

	@Override
	public List<ProductRequirementVo> getAllProductRequirementVoByProductId(Long productId) {
		return mapper.getAllProductRequirementVoByProductId(productId);
	}
}
